package com.zzyl.service;

import com.zzyl.dto.UserLoginRequestDto;
import com.zzyl.vo.LoginVo;
import org.springframework.web.bind.annotation.RequestParam;

public interface WechatService {
    
    /*
    * 获取去
    * */
    public String getWxOpenId(String code);
    public String getWxAccessToken();
    
    /*
    * @param accessToken 接口拿令牌
    * @param code  验证码，唯一认证
    * @openid openid 用户唯一标识
    * 
    * */
    public String gettWxPhoneNumber(String accessToken,String code,@RequestParam(required = false) String openid);

    LoginVo login(UserLoginRequestDto userLoginRequestDto);
}
